package com.zking.ssm.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
//系统用户表

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser {
    private Long userId;//系统用户id

    private String username;//用户名

    private String password;// 密码

    private String salt;//盐

    private String email;//邮箱

    private String mobile;//手机号

    private Byte status;//状态  0：禁用   1：正常

    private Long createUserId;//创建者ID

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;//创建时间


}